<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>地址列表</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no, viewport-fit=cover" />
		<link href="phoneContent/plugin/mui/css/mui.css?versionN=1" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="phoneContent/font/iconfont.css?versionN=1"/>
		<link rel="stylesheet" href="phoneContent/plugin/mui/css/icons-extra.css?versionN=1" />
		<link rel="stylesheet" type="text/css" href="phoneContent/css/style.css?versionN=1" />
		<script src="phoneContent/js/jquery-3.3.1.js?versionN=1" type="text/javascript" charset="utf-8"></script>
		<script src="phoneContent/plugin/mui/js/mui.js?versionN=1" type="text/javascript" charset="utf-8"></script>
		<script src="phoneContent/js/vue.js?versionN=1" type="text/javascript" charset="utf-8"></script>
		<script src="phoneContent/js/base.js?versionN=1" type="text/javascript" charset="utf-8"></script>
		<script src="phoneContent/js/foot.js?versionN=1" type="text/javascript" charset="utf-8"></script>
		<script src="phoneContent/pageJS/addrList.js?versionN=1" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav bgRed">
			<a class="mui-icon mui-icon-left-nav mui-pull-left" id="back"></a>
			<h1 class="mui-title">地址列表</h1>
		</header>
		<div class="mui-content addrListBox" id="content" v-cloak>
			<div class="mui-card" v-for="item in AddrList">
				<div class="mui-card-content">
					<a class="add_checkAdr" @click="checkAdr(item.OID)">
						<div class="mui-card-content-inner add_card_inner">
							<p style="overflow: hidden;"><span class="fl">收货人：{{item.AccepterName}}</span> <span class="fr">{{item.AccepterTel}}</span></p>
							<p><span v-if="item.IsDefault" style="color: #e13032;">【默认地址】</span>{{item.AddrInfo}}</p>
						</div>
					</a>
					<div class="add_btn">
						<a v-if="type" :href="'addNewAddr.html?type=1&oid=' + item.OID">编辑</a>
						<a v-if="!type" :href="'addNewAddr.html?oid=' + item.OID">编辑</a>
						<a @click="delAddr(item.OID)">删除</a>
					</div>
				</div>
			</div>
			<div class="mui-card" v-if="AddrList.length == 0">
				<div class="mui-card-content-inner add_card_inner">
					<p>暂无数据</p>
				</div>
			</div>
			<a v-if="type" onclick="location.href='addNewAddr.html?type=1'" class="mui-btn mui-btn-block mui-btn-primary sureBtn">添加新地址</a>
			<a v-if="!type" onclick="location.href='addNewAddr.html'" class="mui-btn mui-btn-block mui-btn-primary sureBtn">添加新地址</a>
		</div>
		<input type="hidden" class="tabShow" name="" id="" value="4" />
	</body>

</html>